Skip to content

Conversation

@alxkm
Copy link
Contributor

@alxkm alxkm commented Aug 6, 2025

Adds extensive test coverage for ListOutputConverter and StreamHelper to improve robustness and handle edge cases.

Changes Made

ListOutputConverter Tests

  • CSV format variations (spacing, empty values, special characters)
  • Edge cases (trailing commas, whitespace handling, alternative delimiters)
  • Data type preservation and boundary conditions
  • Parameterized testing for multiple input patterns

StreamHelper Tests

  • Error event processing with different error types
  • Multiple sequential error handling
  • Content block reference state management

Improvements

  • Better edge case coverage for CSV parsing
  • Improved error handling validation for streaming
  • Enhanced reliability for real-world scenarios
  • Maintains existing test patterns and conventions

@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 6, 2025
@sobychacko sobychacko merged commit 21406ea into spring-projects:main Aug 6, 2025
2 checks passed
juntae6942 pushed a commit to juntae6942/spring-ai that referenced this pull request Aug 7, 2025
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants